Database query system and method

ABSTRACT

The invention provides a data visualization system comprising a data value memory in which is maintained a finite set of data values; a retrieval component configured to retrieve a set of data values from the data value memory; a display component configured to display a representation of each of the set of the retrieved data values centered on respective data points; and a contour generator configured to generate and display a contoured representation around each data point, such that each data point is displayed as a local maximum. The invention further provides a data visualization system in which a display component is configured to display a graphical representation of a set of retrieved data values based at least partly on display parameters included in a database query expression. The invention also provides related methods and computer programs.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is a Continuation of International Patent Application PCT/NZ01/00197, filed on Sep. 24, 2001, which was published in English, which claims priority to New Zealand Patent Application 507121, filed on Sep. 22, 2000, the contents of which are incorporated in their entirety by reference.

FIELD OF INVENTION

[0002] The invention relates to a database query system and method.

BACKGROUND TO INVENTION

[0003] The low cost of data storage hardware has led to the collection of large volumes of data. Merchants, for example, generate and collect large volumes of data during the course of their business. To compete effectively, it is necessary for a merchant to be able to identify and use information hidden in the collected data. This data could include shop floor sales, and where the merchant operates a website, the use that is made of a website may also be collected. The task of identifying this hidden information has proved very difficult for merchants.

[0004] Traditionally, analysis of data has been achieved by running a query on a set of data records stored in a database. The merchant or other party first creates a hypothesis, converts this hypothesis to a query, runs the query on the database, and interprets the results obtained with respect to the original hypothesis. One disadvantage of this verification-driven hypothesis approach is that the merchant must form the desired hypothesis in advance.

[0005] Our patent specification WO 00/77682 to Compudigm International Limited entitled “Data visualization system and method” describes a system and method for presenting data in an easily interpreted and intuitive manner by displaying a contoured representation of data superimposed on a graphical spatial representation of the premises of a merchant or other party.

[0006] It would be particularly advantageous to provide a system which enables a user greater flexibility in selecting and customizing contoured representations to be displayed.

SUMMARY OF INVENTION

[0007] In broad terms in one form the invention comprises a data visualization system comprising a data value memory in which is maintained a finite set of data values; a retrieval component configured to retrieve a set of data values from the data value memory; a display component configured to display a representation of each of the set of the retrieved data values centered on respective data points; and a contour generator configured to generate and display a contoured representation around each data point, such that each data point is displayed as a local maximum.

[0008] In broad terms in another form the invention comprises a data visualization system comprising a data value memory in which is maintained a finite set of data values; a retrieval component configured to receive a database query expression and to retrieve a set of data values from the data value memory using the database query expression; a display component configured to display a graphical representation of each of the set of the retrieved data values centered on respective data points based at least partly on display parameters included in the database query expression; and a contour generator configured to generate and display a contoured representation around each data point, such that each data point is displayed as a local maximum.

[0009] In broad terms in yet another form the invention comprises a method of data visualization comprising the steps of maintaining in a data value memory a finite set of data values; retrieving from the data value memory a set of data values; displaying a representation of each of the set of retrieved data values centered on respective data points; and generating and displaying a contoured representation around each data point, such that each data point is displayed as a local maximum.

[0010] In broad terms in another form the invention comprises a method of data visualization comprising the steps of maintaining in a data value memory a finite set of data values; receiving a database query expression; retrieving a set of data values from a data value memory using the database query expression; displaying a graphical representation of each of the set of the retrieved data values centered on respective data points based at least partly on display parameters included in the database query expression; and generating and displaying a contoured representation around each data point, such that each data point is displayed as a local maximum.

[0011] In broad terms in yet another form the invention comprises a data visualization computer program comprising a finite set of data values maintained in a data value memory; a retrieval component configured to retrieve a set of data values from the data value memory; a display component configured to display a representation of each of the set of the retrieved data values centered on respective data points; and a contour generator configured to generate and display a contoured representation around each data point, such that each data point is displayed as a local maximum.

[0012] In broad terms in another form the invention comprises a data visualization computer program comprising a finite set of data values maintained in a data value memory; a retrieval component configured to receive a database query expression and to retrieve a set of data values from the data value memory using the database query expression; a display component configured to display a graphical representation of each of the set of the retrieved data values centered on respective data points based at least partly on display parameters included in the database query expression; and a contour generator configured to generate and display a contoured representation around each data point, such that each data point is displayed as a local maximum.

BRIEF DESCRIPTION OF THE FIGURES

[0013] Preferred forms of the database query system and method will now be described with reference to the accompanying figures in which:

[0014]FIG. 1 shows a block diagram of a system in which one form of the invention may be implemented;

[0015]FIG. 2 shows the preferred system architecture of hardware on which the present invention may be implemented; and

[0016]FIG. 3 is a spatial representation generated and displayed in accordance with the invention;

[0017]FIG. 4 is a contoured representation generated in accordance with the invention; and

[0018]FIG. 5 is a flowchart of a preferred form of the invention.

DETAILED DESCRIPTION OF PREFERRED FORMS

[0019]FIG. 1 illustrates a block diagram of the preferred system 10 in which one form of the present invention may be implemented. The system includes one or more clients 20 for example 20A, 20B, 20C, 20D, 20E and 20F, which each may comprise a personal computer, workstation or other computing device described below. Each client 20 is interfaced to a workstation 12 as shown in FIG. 1. Each client 20 could be connected directly to the workstation 12, could be connected through a local area network or LAN, or could be connected through the Internet.

[0020] Clients 20A and 20B, for example, are connected to a network 22, such as a local area network or LAN. The network 22 could be connected to a suitable network server 24 and communicate with the workstation 12 as shown. Client 20C is shown connected directly to the workstation 12. It is envisaged that client 20C could connect to the workstation 12 through any suitable connection apparatus, either wired or wireless. Clients 20D, 20E and 20F are shown connected to the invention 12 through the Internet 26. Client 20D is shown as connected to the Internet 26 with a dial-up connection and clients 20E and 20F are shown connected through a network 28 such as a local area network or LAN, with the network 28 connected to a suitable network server 30.

[0021] The preferred system 10 further comprises a data repository 40, for example a data warehouse maintained in the memory. It is envisaged that the data repository may alternatively comprise a single database, a collection of databases, or a data mart. The preferred data repository 40 includes data from a variety of sources. The data repository may include, for example, interaction data 42 representing interactions between customers and merchants as will be more particularly described below. The data repository may also include data from other sources, for example census data 44, scan data 46 obtained from scanning bar-codes on products, data from merchant customer databases 48, data from merchant loyalty programmes 50 and/or promotion data 52 held by a merchant or other organization.

[0022] The system preferably further comprises a metadata store 60 in which a series of metadata layers are stored and retrieved by the invention 12. It is envisaged that the metadata store may comprise a data warehouse, a single database, a collection of databases or a data mart. The metadata store 60 is further described below.

[0023] One preferred form of the invention comprises a personal computer or workstation operating under the control of appropriate operating and application software having a data memory 70 interfaced to a processor 72. The invention is arranged to receive a query, for example from a client 20, to retrieve data from the data repository 40 and the metadata store 60 using the query, to process the data with the server 72 and to display the data on a client workstation 20, as will be described below.

[0024] The system 10 further comprises a retrieval component 80 which in one form is a computer implemented software program which is configured to receive the query from the client 20 and to retrieve the data from the data repository 40 using the database query. The system 10 further comprises a display component 82 which in one form is a software implemented component which is configured to display a representation of each of the set of data values retrieved by the retrieval component 80 on a client 20. A contour generator 84 implemented as a software program is configured to generate and display a contoured representation around each data point on the representation displayed by the display component 80 on client 20.

[0025]FIG. 2 shows the preferred system architecture of a client 20 or workstation 12. The computer system 100 typically comprises a central processor 102, a main memory 104 for example RAM and an input/output controller 106. The computer system 100 also comprises peripherals such as a keyboard 108, a pointing device 110, for example a mouse, touch pad or track ball, a display or screen device 112, a mass storage memory 114 for example a hard disk, floppy disk or optical disc, and an output device 116 for example a printer. The computer system 100 could also include a network interface card or controller 118 and/or a modem 120. As an alternative to a modem 120, it is envisaged that the computer system 100 could include wireless application protocol (WAP) apparatus. The individual components of the system 100 could communicate through a system bus 122.

[0026] It is envisaged that the invention have a wide area of application and the nature and format of the data stored in the data repository 40 and the metadata store 60 will be different for each application. The invention could be applied to data compiled from interactions between or among any organization. In each case, the workstation 12 is configured to receive a user query from a client 20, to process the query and to display a contoured representation of data on the screen display of a client workstation 20.

[0027] In one example, a merchant may operate a casino or similar gaming venue. The casino floor of the merchant could include a series of individual gaming machines, many of the gaming machines grouped into machine banks. During the course of the merchant's business, customers place funds in individual machines and the amount of funds placed in each machine is recorded and stored in a database.

[0028] A typical database could include a relational database which could be a single table for example RetailStoreData having a series of fields, for example bank, machine, turnover and value_cc. The machine and bank fields could store an individual machine identifier and a bank identifier of the bank in which that machine is positioned respectively. The turnover field could be used to store data on the revenue generated by an individual machine during a predetermined time interval, for example 1 minute, 10 minutes, 30 minutes and 60 minutes. The hour field could store data on the particular hour in which a turnover value is measured and the value_cc field could indicate the denomination of each machine, for example 5 cent, 10 cent, 50 cent, 1 dollar or 2 dollars.

[0029] Queries which seek to obtain information from a relational database such as that described above are usually defined by ANSI standard structured query language (SQL) statements. These statements define in computer recognizable terms the tables from which the data is to be extracted, the columns of interest, the conditions rows must satisfy, what columns are to be included, how the select columns are to be grouped, and the order of the columns.

[0030] A typical standard SQL statement could read as follows:

[0031] Select hour, bank, machine, sum (turnover) as sum_turnover

[0032] from RetailStoreData

[0033] where value_cc>10

[0034] group by hour, machine

[0035] order by hour;

[0036] The first two lines of this query specify that the data be retrieved from RetailStoreData. Specifically, the data requested is from the fields or columns referred to as hour, bank and machine. Line 1 of the query also specifies the aggregate function sum which requests the total of all rows satisfying the further conditions of the query of the given column turnover and creates a new variable sum_turnover to store this total.

[0037] The third line in the query introduces conditional selection and specifies that only certain rows of the RetailStoreData table are to be displayed, namely those rows in which the denomination of a machine, referred to as value_cc exceeds the value 10.

[0038] The fourth line of the query specifies that the individual turnover values of each machine are to be grouped firstly by hour and then by machine. The fifth line of the query specifies that the data is to be ordered by hour to ensure a correct temporal sequence.

[0039] The above query is normally passed to a query interpreter which parses the database query expression to identify the text strings of the select, from, where, group and order clauses described above. The query interpreter then executes the query to retrieve data from a relational database returning the results of a particular query as a series of rows and columns.

[0040] Our patent specification WO 00/77682 to Compudigm International Limited entitled “Data visualization system and method” is incorporated by reference and describes a system and method for optionally presenting the results of a query such as that described above in an easily interpreted and intuitive manner by displaying a contoured representation of data superimposed on a graphical spatial representation, for example the premises of a merchant.

[0041] The contoured representation and the graphical representation of the merchant have traditionally been hardcoded and difficult for a user, particularly a novice user, to alter or customize. The invention provides a non-standard SQL extension which enables the parameters of a contoured representation to be specified in the same database query expression in which the data is retrieved from the database.

[0042] A typical extended database query expression generated by a user on client 20 could read as follows: Select hour, bank, machine, sum (turnover) as sum_turnover from RetailStoreData where value_cc> 10 group by hour, machine order by hour display contour map contour by sum_turnover label bank with sum_turnover [denomination] background CrownCasino title = “hourly turnover”

[0043] The first five lines of this query are the same as the standard query described above. Line 6 introduces a display clause which introduces a plurality of display parameters specifying that a contoured representation is to be generated of the data retrieved from the database with the preceding clauses in the database query expression. The display clause is preferably positioned after the standard order clause and is followed by a series of display parameters in the form of sub-clauses as will be described below.

[0044] Our patent specification WO 00/79438 to Compudigm International Limited entitled “Spatial data management system and method” is incorporated by reference. It describes the use of a data repository which specifically includes a spatial database.

[0045]FIG. 3 illustrates one example of a spatial representation 200 generated by the system where the merchant operates a casino or similar gaming venue. It is envisaged that the invention display the premises of a merchant by displaying individual objects on a merchant premises. The representation includes spatial information relating to one or more objects, for example gaming machines indicated at 202 grouped into a series of machine banks, one of which is indicated at 204. The representation could also include gaming tables indicated at 206 and other objects, for example stairwells 208, escalators 210, toilet facilities 212, and doorways 214.

[0046] In the present invention, such a spatial representation is preferably stored in the metadata store 60 and indexed by keyword. For example, the representation of FIG. 3 could be indexed by the keyword CrownCasino and so the sub-clause background in the above example specifies that the collection of metadata layers of building plans and spatial layout shown in FIG. 3 be retrieved from the metadata store 60 using the keyword CrownCasino and displayed on a user workstation 20.

[0047] It will be appreciated that a plurality of spatial representations could be stored in the metadata store 60 and indexed by keyword to enable a user to specify a particular representation to be retrieved using the background sub-clause.

[0048] The sub-clause contour specifies the key performance indicator or KPI presented to a user. This KPI could include turnover as is the case with the query described above. The KPI could also include revenue, gross profit, net profit and any other value of interest to a user.

[0049]FIG. 4 illustrates at 300 one example of a contoured representation generated by the system where the merchant operates a casino or similar gaming venue. A background representation of the merchant is specified and the sum turnover is overlaid on the background. The representation 300 includes individual gaming machines and machine banks. Two individual gaming machines are indicated at 302 and 304 respectively. The turnover for each machine is preferably graphically represented adjacent to or near to the representation of the individual machine. There are a finite number of machines in the casino, and the individual turnover of each machine represents a finite set of data values. These data values are graphically illustrated as data points in the representation 300. For example, the turnover or data value for machine 302 is graphically illustrated as data point 306 and the turnover or data value for machine 304 is graphically illustrated as data point 308.

[0050] The preferred representation 300 is color-coded and the value of turnover of each machine is illustrated by representing the corresponding data points in the appropriate color to represent the correct value of turnover of each machine.

[0051] The areas of the representation 300 around each data point are shown as contours. The nature of the contours for each data point are preferably represented to gradually drop off or fall away from each data point. Each data point could be represented by x and y co-ordinates indicating the relative position of each data point in the representation. Each data point could also have a z value representing the height or magnitude of the data point. This z value could indicate, for example, the turnover or data value at a particular data point. Each data value is therefore centered on a data point.

[0052] The database query could also specify text to be overlaid on the spatial representation. For example, different machine banks could be labeled with the sum turnover for that bank and the denomination of each machine in the bank. It is envisaged that the database query could include a sub-clause label xx with yy, zz where xx refers to an object in the representation, for example a gaming machine or machine bank, and yy and zz indicate text values to be overlaid on object xx.

[0053] The database query expression could include further sub-clauses for example a title for the representation, a zoom level, a color shade for the representation, a unit sub-clause which could specify miles, kilometers, etc, and center (x, y) specifying the center of the representation. The query language could also include a boundary clause having the form bounds (x-min, y-min, x-max, y-max).

[0054] In a further preferred form of the invention, the display component 82 could be configured to display further representations of the set of data retrieved from the data repository 40. The data could be presented, for example, as a line graph, histogram or pie chart. A typical query to display a line graph could read as follows: select hour, sum (turnover) as sum_turnover from RetailStoreData group by hour display line graph xaxis hour yaxis sum_turnover title “Store Hourly Turnover” A typical query for displaying a histogram could read as follows: select hour, sum (turnover) as sum_turnover, sum (profit) as sum_profit from RetailStoreData group by hour display histogram xaxis hour yaxis sum_turnover, sum_profit title “Store Hourly Turnover” A query for displaying a pie chart could read as follows: select hour, sum (turnover) as sum_turnover from RetailStoreData group by category display pie chart label sector sum_turnover

[0055] In this way, the display component 82 is configured to display a representation based at least partly on the display parameters specified in the database query.

[0056]FIG. 5 illustrates a preferred method of operation of the invention. As shown at 400, the invention 12 receives a database query expression from a user workstation 20. As shown at 402, the database query expression is parsed to identify individual clauses within the expression, for example the select, from, where, group and order clauses. As described above, the query expression could also include a display clause specifying a data visualization to be displayed to a user.

[0057] As indicated at 404, the standard non-visualization clauses of the query are executed to retrieve data from the database, for example interaction data from the interaction database.

[0058] As indicated at 406, if a data visualization display clause is present in the database query expression, the display clause is checked to see whether a contour sub-clause is present in the display clause. In some circumstances where a contour sub-clause is not present in the display clause, the invention could be arranged to assign a default contour value or clause as indicated at 410 in which the representation is contoured on revenue for example.

[0059] As shown at 412, the specified or default contour clause is then used to generate data values to present to a user. For example, should a user specify a contour variable of sum_turnover, then the data generated at step 412 would be the set of data values representing sum_turnover for one or more gaming machines or machine banks.

[0060] As indicated at 414, the database query expression is examined to locate a background clause. As described above, the background clause specifies a graphical spatial representation to present to a user. As shown at 416, if there is no background clause present, the invention could assign a default background clause.

[0061] As indicated at step 418, the specified or default background clause is used to retrieve a particular background or representation from the metadata store 60 and this representation is presented to a user.

[0062] At step 420, the data values generated from step 412 are superimposed on the background retrieved in step 418 to present a contoured representation to a user.

[0063] It is envisaged that the contoured representation could comprise an individual display or could alternatively comprise animated sequences of representations comprising two or more “still” representations at various time intervals.

[0064] It is envisaged that the system have a wide area of application. Typically, a merchant will operate in a commercial premises or store from which a customer purchases goods or services. The merchant may, for example, operate a petrol station in one or more geographic locations. The merchant may alternatively operate a wagering or betting service, or operate a casino or other gaming facility in which a number of gaming machines and stations are positioned in one or more rooms at a common venue. The merchant may also operate a warehouse facility, manufacturing facility, carparking premises, telecommunications network, website or call center. The merchant may also offer a range of financial or insurance services.

[0065] The merchant does not necessarily need to operate from a commercial premises or store. For example, the merchant may operate from strategically-placed machines, for example vending machines or amusement machines. The merchant may also operate a mail order catalogue service, direct market goods or services, or operate from a website or other electronic mediums. It will be appreciated that the nature of business of the merchant includes a wide range of activities.

[0066] The present invention enables a user to generate contoured representations easily, presenting data in an easily interpreted and intuitive manner. The foregoing describes the invention including preferred forms thereof. Alterations and modifications as will be obvious to those skilled in the art are intended to be incorporated within the scope hereof, as defined by the accompanying claims. 

1. A data visualization system comprising: a finite set of discrete data values maintained in computer memory; a retrieval component configured to retrieve a set of data values from computer memory; a display component configured to display a representation of each of the set of the retrieved data values centered on respective data points; and a contour generator configured to generate and display a contoured representation around each data point, such that each data point is displayed as a local maximum.
 2. A data visualization system as claimed in claim 1 wherein the retrieval component is configured to receive a database query expression and to retrieve the set of data values from computer memory using the database query expression.
 3. A data visualization system as claimed in claim 2 wherein the database query expression includes display parameters.
 4. A data visualization system as claimed in claim 3 wherein the display component is configured to display the representation based at least partly on the display parameters.
 5. A data visualization system as claimed in claim 4 wherein the contour generator is configured to generate and display the contoured representation based at least partly on the display parameters.
 6. A data visualization system as claimed in claim 3 wherein the data values are maintained in an interaction database of interaction data representing interactions between customers and merchants, the retrieval component configured to retrieve the set of data values in the form of data representing interactions between customers and merchants.
 7. A data visualization system as claimed in claim 6 wherein the merchant operates from one or more commercial premises, the display component further configured to display a graphical spatial representation of the premises of the merchant.
 8. A data visualization system as claimed in claim 7 further comprising a plurality of graphical spatial representations stored in computer memory, the display component configured to select a graphical spatial representation to display based at least partly on the display parameters.
 9. A data visualization system as claimed in claim 3 wherein the display component is further configured to optionally display a line graph representing the set of retrieved data, the line graph defined at least partly by the display parameters.
 10. A data visualization system as claimed in claim 3 wherein the display component is further configured to optionally display a histogram representing the set of retrieved data, the histogram defined at least partly by the display parameters.
 11. A data visualization system as claimed in claim 3 wherein the display component is further configured to optionally display a pie chart representing the set of retrieved data, the pie charts defined at least partly by the display parameters.
 12. A data visualization system comprising: a finite set of discrete data values maintained in computer memory; a retrieval component configured to receive a database query expression and to retrieve a set of data values from computer memory using the database query expression; a display component configured to display a graphical representation of each of the set of the retrieved data values centered on respective data points based at least partly on display parameters included in the database query expression; and a contour generator configured to generate and display a contoured representation around each data point, such that each data point is displayed as a local maximum.
 13. A data visualization system as claimed in claim 12 wherein the display component is configured to optionally display a line graph representing the set of retrieved data, the line graph defined at least partly by the display parameters.
 14. A data visualization system as claimed in claim 12 wherein the display component is configured to optionally display a histogram representing the set of retrieved data defined at least partly by the display parameters.
 15. A data visualization system as claimed in claim 12 wherein the display component is configured to optionally display a pie chart representing the set of retrieved data defined at least partly by the display parameters.
 16. A method of data visualization comprising the steps of: maintaining in computer memory a finite set of discrete data values; retrieving from computer memory a set of data values; displaying a representation of each of the set of retrieved data values centered on respective data points; and generating and displaying a contoured representation around each data point, such that each data point is displayed as a local maximum.
 17. A method of data visualization as claimed in claim 16 further comprising the steps of: receiving a database query expression; and retrieving the set of data values from computer memory using the database query expression.
 18. A method of data visualization as claimed in claim 17 wherein the database query expression includes display parameters.
 19. A method of data visualization as claimed in claim 18 further comprising the step of displaying the representation based at least partly on the display parameters.
 20. A method of data visualization as claimed in claim 19 further comprising the steps of generating and displaying the contoured representation based at least partly on the display parameters.
 21. A method of data visualization as claimed in claim 18 further comprising the steps of: maintaining the data values in an interaction database of interaction data representing interactions between customers and merchants; and retrieving the set of data values in the form of data representing interactions between customers and merchants.
 22. A method of data visualization as claimed in claim 21 wherein the merchant operates from one or more commercial premises, the method further comprising the step of displaying a graphical spatial representation of the premises of the merchant.
 23. A method of data visualization as claimed in claim 22 further comprising the steps of: maintaining a plurality of graphical spatial representations in computer memory; and selecting a graphical spatial representation to display based at least partly on the display parameters.
 24. A method of data visualization as claimed in claim 18 further comprising the step of displaying a line graph representing the set of retrieved data, the line graph defined at least partly by the display parameters.
 25. A method of data visualization as claimed in claim 18 further comprising the step of displaying a histogram representing the set of retrieved data, the histogram defined at least partly by the display parameters.
 26. A method of data visualization as claimed in claim 18 further comprising the step of displaying a pie chart representing the set of retrieved data, the pie chart defined at least partly by the display parameters.
 27. A method of data visualization comprising the steps of: maintaining in computer memory a finite set of data values; receiving a database query expression; retrieving a set of data values from computer memory using the database query expression; displaying a graphical representation of each of the set of the retrieved data values centered on respective data points based at least partly on display parameters included in the database query expression; and generating and displaying a contoured representation around each data point, such that each data point is displayed as a local maximum.
 28. A method of data visualization as claimed in claim 27 further comprising the step of displaying a line graph representing the set of retrieved data, the line graph defined at least by the display parameters.
 29. A data visualization system as claimed in claim 27 further comprising the step of displaying a histogram representing the set of retrieved data defined at least partly by the display parameters.
 30. A method of data visualization as claimed in claim 27 further comprising the step of displaying a pie chart representing the set of retrieved data defined at least partly by the display parameters.
 31. A data visualization computer program comprising: a finite set of discrete data values maintained in computer memory; a retrieval component configured to retrieve a set of data values from computer memory; a display component configured to display a representation of each of the set of the retrieved data values centered on respective data points; and a contour generator configured to generate and display a contoured representation around each data point, such that each data point is displayed as a local maximum.
 32. A data visualization computer program as claimed in claim 31 wherein the retrieval component is configured to receive a database query expression and to retrieve the set of data values from computer memory using the database query expression.
 33. A data visualization computer program as claimed in claim 32 wherein the database query expression includes display parameters.
 34. A data visualization computer program as claimed in claim 33 wherein the display component is configured to display the representation based at least partly on the display parameters.
 35. A data visualization computer program as claimed in claim 34 wherein the contour generator is configured to generate and display the contoured representation based at least partly on the display parameters.
 36. A data visualization computer program as claimed in claim 33 wherein the data values are maintained in an interaction database of interaction data representing interactions between customers and merchants, the retrieval component configured to retrieve the set of data values in the form of data representing interactions between customers and merchants.
 37. A data visualization computer program as claimed in claim 36 wherein the merchant operates from one or more commercial premises, the display component further configured to display a graphical spatial representation of the premises of the merchant.
 38. A data visualization computer program as claimed in claim 37 further comprising a plurality of graphical spatial representations stored in computer memory, the display component configured to select a graphical spatial representation to display based at least partly on the display parameters.
 39. A data visualization computer program as claimed in claim 33 wherein the display component is further configured to optionally display a line graph representing the set of retrieved data, the line graph defined at least partly by the display parameters.
 40. A data visualization computer program as claimed in claim 33 wherein the display component is further configured to optionally display a histogram representing the set of retrieved data, the histogram defined at least partly by the display parameters.
 41. A data visualization computer program as claimed in claim 33 wherein the display component is further configured to optionally display a pie chart representing the set of retrieved data, the pie chart defined at least partly by the display parameters.
 42. A data visualization computer program comprising: a finite set of discrete data values maintained in computer memory; a retrieval component configured to receive a database query expression and to retrieve a set of data values from computer memory using the database query expression; a display component configured to display a graphical representation of each of the set of the retrieved data values centered on respective data points based at least partly on display parameters included in the database query expression; and a contour generator configured to generate and display a contoured representation around each data point, such that each data point is displayed as a local maximum.
 43. A data visualization computer program as claimed in claim 42 wherein the display component is configured to optionally display a line graph representing the set of retrieved data, the line graph defined at least partly by the display parameters.
 44. A data visualization computer program as claimed in claim 42 wherein the display component is configured to optionally a histogram representing the set of retrieved data defined at least partly by the display parameters.
 45. A data visualization computer program as claimed in claim 42 wherein the display component is configured to optionally display a pie chart representing the set of retrieved data defined at least partly by the display parameters.
 46. A data visualization computer program as claimed in claim 31 embodied on a computer readable medium. 